home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 May: Tool Chest / Developer CD Series May 1996 (Tool Chest) (Apple Computer) (1996).iso / Tool Chest / Development Tools & Languages / Macintosh Common Lisp Related / User Contributions / oodles-of-utils.sea / oodles-of-utils / NotInROM / +SegLoader.lisp < prev    next >
MacBinary  |  1992-02-13  |  4.0 KB  |  [TEXT/CCL2]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Thu Feb 13 16:11:56 1992, modified Thu Feb 13 16:11:56 1992, creator Common Lisp 2, type ASCII, 3450 bytes "+SegLoader.lisp" , at 0xdfa 442 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[CCL2]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0f 2b 53 65 67 4c 6f | 61 64 65 72 2e 6c 69 73 |..+SegLo|ader.lis|
|00000010| 70 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |p.......|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 43 43 4c | 32 01 00 00 00 00 00 00 |.TEXTCCL|2.......|
|00000050| 00 00 00 00 00 0d 7a 00 | 00 01 ba a5 c0 8f 9c a5 |......z.|........|
|00000060| c0 8f 9c 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 f9 86 00 00 |........|........|
|00000080| 3b 3b 20 2d 2a 2d 20 70 | 61 63 6b 61 67 65 3a 20 |;; -*- p|ackage: |
|00000090| 4e 6f 74 49 6e 52 4f 4d | 20 2d 2a 2d 0d 3b 3b 3b |NotInROM| -*-.;;;|
|000000a0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000000b0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000000c0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000000d0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000000e0| 3b 3b 3b 0d 3b 3b 20 2b | 53 65 67 4c 6f 61 64 2e |;;;.;; +|SegLoad.|
|000000f0| 4c 69 73 70 0d 3b 3b 0d | 3b 3b 20 43 6f 70 79 72 |Lisp.;;.|;; Copyr|
|00000100| 69 67 68 74 20 a9 20 31 | 39 39 32 20 4e 6f 72 74 |ight . 1|992 Nort|
|00000110| 68 77 65 73 74 65 72 6e | 20 55 6e 69 76 65 72 73 |hwestern| Univers|
|00000120| 69 74 79 20 49 6e 73 74 | 69 74 75 74 65 20 66 6f |ity Inst|itute fo|
|00000130| 72 20 74 68 65 20 4c 65 | 61 72 6e 69 6e 67 20 53 |r the Le|arning S|
|00000140| 63 69 65 6e 63 65 73 0d | 3b 3b 20 41 6c 6c 20 52 |ciences.|;; All R|
|00000150| 69 67 68 74 73 20 52 65 | 73 65 72 76 65 64 0d 3b |ights Re|served.;|
|00000160| 3b 0d 3b 3b 20 61 75 74 | 68 6f 72 3a 20 4d 69 63 |;.;; aut|hor: Mic|
|00000170| 68 61 65 6c 20 53 2e 20 | 45 6e 67 62 65 72 0d 3b |hael S. |Engber.;|
|00000180| 3b 0d 3b 3b 20 50 72 6f | 76 69 64 65 73 20 6d 69 |;.;; Pro|vides mi|
|00000190| 73 73 69 6e 67 20 53 65 | 67 6d 65 6e 74 20 4c 6f |ssing Se|gment Lo|
|000001a0| 61 64 65 72 20 52 6f 75 | 74 69 6e 65 73 0d 3b 3b |ader Rou|tines.;;|
|000001b0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000001c0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000001d0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000001e0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000001f0| 3b 3b 3b 3b 0d 0d 28 65 | 76 61 6c 2d 77 68 65 6e |;;;;..(e|val-when|
|00000200| 20 28 3a 63 6f 6d 70 69 | 6c 65 2d 74 6f 70 6c 65 | (:compi|le-tople|
|00000210| 76 65 6c 20 3a 6c 6f 61 | 64 2d 74 6f 70 6c 65 76 |vel :loa|d-toplev|
|00000220| 65 6c 20 3a 65 78 65 63 | 75 74 65 29 0d 20 20 28 |el :exec|ute). (|
|00000230| 72 65 71 75 69 72 65 20 | 20 20 20 3a 4e 6f 74 49 |require | :NotI|
|00000240| 6e 52 4f 4d 2d 75 29 0d | 20 20 28 69 6e 2d 70 61 |nROM-u).| (in-pa|
|00000250| 63 6b 61 67 65 20 3a 4e | 6f 74 49 6e 52 4f 4d 29 |ckage :N|otInROM)|
|00000260| 29 0d 0d 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |)..;;;;;|;;;;;;;;|
|00000270| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00000280| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00000290| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000002a0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 0d 0d 28 65 76 61 6c |;;;;;;;;|;..(eval|
|000002b0| 2d 77 68 65 6e 20 28 3a | 63 6f 6d 70 69 6c 65 2d |-when (:|compile-|
|000002c0| 74 6f 70 6c 65 76 65 6c | 20 3a 6c 6f 61 64 2d 74 |toplevel| :load-t|
|000002d0| 6f 70 6c 65 76 65 6c 20 | 3a 65 78 65 63 75 74 65 |oplevel |:execute|
|000002e0| 29 0d 20 20 0d 20 20 28 | 64 65 66 63 6f 6e 73 74 |). . (|defconst|
|000002f0| 61 6e 74 20 74 72 61 70 | 73 3a 3a 24 41 70 70 50 |ant trap|s::$AppP|
|00000300| 61 72 6d 48 61 6e 64 6c | 65 20 23 78 41 45 43 29 |armHandl|e #xAEC)|
|00000310| 0d 20 20 0d 20 20 28 64 | 65 66 72 65 63 6f 72 64 |. . (d|efrecord|
|00000320| 20 28 49 41 70 70 46 69 | 6c 65 20 3a 70 6f 69 6e | (IAppFi|le :poin|
|00000330| 74 65 72 29 0d 20 20 20 | 20 28 76 52 65 66 4e 75 |ter). | (vRefNu|
|00000340| 6d 20 3a 73 69 67 6e 65 | 64 2d 69 6e 74 65 67 65 |m :signe|d-intege|
|00000350| 72 29 0d 20 20 20 20 28 | 66 54 79 70 65 20 20 20 |r). (|fType |
|00000360| 3a 4f 53 54 79 70 65 29 | 0d 20 20 20 20 28 76 65 |:OSType)|. (ve|
|00000370| 72 73 4e 75 6d 20 3a 62 | 79 74 65 29 0d 20 20 20 |rsNum :b|yte). |
|00000380| 20 28 75 6e 75 73 65 64 | 20 20 3a 62 79 74 65 29 | (unused| :byte)|
|00000390| 0d 20 20 20 20 28 66 6e | 4c 65 6e 20 20 20 3a 75 |. (fn|Len :u|
|000003a0| 6e 73 69 67 6e 65 64 2d | 62 79 74 65 29 29 0d 20 |nsigned-|byte)). |
|000003b0| 20 0d 20 20 28 64 65 66 | 72 65 63 6f 72 64 20 28 | . (def|record (|
|000003c0| 41 70 70 50 61 72 6d 20 | 3a 70 6f 69 6e 74 65 72 |AppParm |:pointer|
|000003d0| 29 0d 20 20 20 20 28 6d | 65 73 73 61 67 65 20 3a |). (m|essage :|
|000003e0| 73 69 67 6e 65 64 2d 69 | 6e 74 65 67 65 72 29 0d |signed-i|nteger).|
|000003f0| 20 20 20 20 28 63 6f 75 | 6e 74 20 20 20 3a 73 69 | (cou|nt :si|
|00000400| 67 6e 65 64 2d 69 6e 74 | 65 67 65 72 29 0d 20 20 |gned-int|eger). |
|00000410| 20 20 28 64 6f 63 6c 69 | 73 74 20 28 3a 61 72 72 | (docli|st (:arr|
|00000420| 61 79 20 3a 49 41 70 70 | 46 69 6c 65 20 30 29 29 |ay :IApp|File 0))|
|00000430| 29 0d 0d 20 20 29 0d 0d | 3b 3b 3b 3b 3b 3b 3b 3b |).. )..|;;;;;;;;|
|00000440| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00000450| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00000460| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00000470| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 0d 0d |;;;;;;;;|;;;;;;..|
|00000480| 28 64 65 66 74 72 61 70 | 2d 4e 6f 74 49 6e 52 4f |(deftrap|-NotInRO|
|00000490| 4d 20 5f 43 6f 75 6e 74 | 41 70 70 46 69 6c 65 73 |M _Count|AppFiles|
|000004a0| 20 3a 6e 6f 6e 65 20 28 | 28 6d 65 73 73 61 67 65 | :none (|(message|
|000004b0| 20 28 3a 70 6f 69 6e 74 | 65 72 20 3a 73 69 67 6e | (:point|er :sign|
|000004c0| 65 64 2d 69 6e 74 65 67 | 65 72 29 29 20 28 63 6f |ed-integ|er)) (co|
|000004d0| 75 6e 74 20 28 3a 70 6f | 69 6e 74 65 72 20 3a 73 |unt (:po|inter :s|
|000004e0| 69 67 6e 65 64 2d 69 6e | 74 65 67 65 72 29 29 29 |igned-in|teger)))|
|000004f0| 0d 20 20 28 77 69 74 68 | 2d 6d 61 63 70 74 72 73 |. (with|-macptrs|
|00000500| 20 28 28 61 70 70 50 61 | 72 6d 5f 68 20 28 25 67 | ((appPa|rm_h (%g|
|00000510| 65 74 2d 70 74 72 20 28 | 25 69 6e 74 2d 74 6f 2d |et-ptr (|%int-to-|
|00000520| 70 74 72 20 23 24 41 70 | 70 50 61 72 6d 48 61 6e |ptr #$Ap|pParmHan|
|00000530| 64 6c 65 29 29 29 29 0d | 20 20 20 20 28 69 66 20 |dle)))).| (if |
|00000540| 28 70 6c 75 73 70 20 28 | 23 5f 47 65 74 48 61 6e |(plusp (|#_GetHan|
|00000550| 64 6c 65 53 69 7a 65 20 | 61 70 70 50 61 72 6d 5f |dleSize |appParm_|
|00000560| 68 29 29 0d 20 20 20 20 | 20 20 28 70 72 6f 67 6e |h)). | (progn|
|00000570| 0d 20 20 20 20 20 20 20 | 20 28 25 70 75 74 2d 77 |. | (%put-w|
|00000580| 6f 72 64 20 6d 65 73 73 | 61 67 65 20 28 68 72 65 |ord mess|age (hre|
|00000590| 66 20 61 70 70 50 61 72 | 6d 5f 68 20 3a 41 70 70 |f appPar|m_h :App|
|000005a0| 50 61 72 6d 2e 6d 65 73 | 73 61 67 65 29 29 0d 20 |Parm.mes|sage)). |
|000005b0| 20 20 20 20 20 20 20 28 | 25 70 75 74 2d 77 6f 72 | (|%put-wor|
|000005c0| 64 20 63 6f 75 6e 74 20 | 20 20 28 68 72 65 66 20 |d count | (href |
|000005d0| 61 70 70 50 61 72 6d 5f | 68 20 3a 41 70 70 50 61 |appParm_|h :AppPa|
|000005e0| 72 6d 2e 63 6f 75 6e 74 | 29 29 29 0d 20 20 20 20 |rm.count|))). |
|000005f0| 20 20 28 70 72 6f 67 6e | 0d 20 20 20 20 20 20 20 | (progn|. |
|00000600| 20 28 25 70 75 74 2d 77 | 6f 72 64 20 6d 65 73 73 | (%put-w|ord mess|
|00000610| 61 67 65 20 30 29 0d 20 | 20 20 20 20 20 20 20 28 |age 0). | (|
|00000620| 25 70 75 74 2d 77 6f 72 | 64 20 63 6f 75 6e 74 20 |%put-wor|d count |
|00000630| 20 20 30 29 29 29 29 29 | 0d 0d 28 64 65 66 75 6e | 0)))))|..(defun|
|00000640| 20 61 70 70 2d 66 69 6c | 65 2d 6f 66 66 73 65 74 | app-fil|e-offset|
|00000650| 20 28 69 6e 64 65 78 20 | 61 70 70 50 61 72 6d 5f | (index |appParm_|
|00000660| 70 29 0d 20 20 28 6c 65 | 74 20 28 28 61 70 70 46 |p). (le|t ((appF|
|00000670| 69 6c 65 2d 6f 66 66 73 | 65 74 20 23 2e 28 63 63 |ile-offs|et #.(cc|
|00000680| 6c 3a 3a 72 65 63 6f 72 | 64 2d 66 69 65 6c 64 2d |l::recor|d-field-|
|00000690| 6c 65 6e 67 74 68 20 3a | 41 70 70 50 61 72 6d 29 |length :|AppParm)|
|000006a0| 29 29 0d 20 20 20 20 28 | 77 69 74 68 2d 6d 61 63 |)). (|with-mac|
|000006b0| 70 74 72 73 20 28 28 61 | 70 70 46 69 6c 65 20 28 |ptrs ((a|ppFile (|
|000006c0| 25 69 6e 63 2d 70 74 72 | 20 61 70 70 50 61 72 6d |%inc-ptr| appParm|
|000006d0| 5f 70 20 61 70 70 46 69 | 6c 65 2d 6f 66 66 73 65 |_p appFi|le-offse|
|000006e0| 74 29 29 29 0d 20 20 20 | 20 20 20 28 64 6f 74 69 |t))). | (doti|
|000006f0| 6d 65 73 20 28 69 20 28 | 31 2d 20 69 6e 64 65 78 |mes (i (|1- index|
|00000700| 29 20 61 70 70 46 69 6c | 65 2d 6f 66 66 73 65 74 |) appFil|e-offset|
|00000710| 29 0d 20 20 20 20 20 20 | 20 20 28 64 65 63 6c 61 |). | (decla|
|00000720| 72 65 20 28 66 69 78 6e | 75 6d 20 69 29 29 0d 20 |re (fixn|um i)). |
|00000730| 20 20 20 20 20 20 20 28 | 6c 65 74 20 28 28 61 70 | (|let ((ap|
|00000740| 70 46 69 6c 65 2d 73 69 | 7a 65 20 20 28 2b 20 23 |pFile-si|ze (+ #|
|00000750| 2e 28 63 63 6c 3a 3a 72 | 65 63 6f 72 64 2d 66 69 |.(ccl::r|ecord-fi|
|00000760| 65 6c 64 2d 6c 65 6e 67 | 74 68 20 3a 49 41 70 70 |eld-leng|th :IApp|
|00000770| 46 69 6c 65 29 20 28 70 | 72 65 66 20 61 70 70 46 |File) (p|ref appF|
|00000780| 69 6c 65 20 3a 49 41 70 | 70 46 69 6c 65 2e 66 6e |ile :IAp|pFile.fn|
|00000790| 4c 65 6e 29 29 29 29 0d | 20 20 20 20 20 20 20 20 |Len)))).| |
|000007a0| 20 20 28 77 68 65 6e 20 | 28 6f 64 64 70 20 61 70 | (when |(oddp ap|
|000007b0| 70 46 69 6c 65 2d 73 69 | 7a 65 29 20 28 69 6e 63 |pFile-si|ze) (inc|
|000007c0| 66 20 61 70 70 46 69 6c | 65 2d 73 69 7a 65 29 29 |f appFil|e-size))|
|000007d0| 0d 20 20 20 20 20 20 20 | 20 20 20 28 69 6e 63 66 |. | (incf|
|000007e0| 20 61 70 70 46 69 6c 65 | 2d 6f 66 66 73 65 74 20 | appFile|-offset |
|000007f0| 61 70 70 46 69 6c 65 2d | 73 69 7a 65 29 0d 20 20 |appFile-|size). |
|00000800| 20 20 20 20 20 20 20 20 | 28 25 69 6e 63 66 2d 70 | |(%incf-p|
|00000810| 74 72 20 61 70 70 46 69 | 6c 65 20 61 70 70 46 69 |tr appFi|le appFi|
|00000820| 6c 65 2d 73 69 7a 65 29 | 29 29 29 29 29 0d 0d 28 |le-size)|)))))..(|
|00000830| 64 65 66 74 72 61 70 2d | 4e 6f 74 49 6e 52 4f 4d |deftrap-|NotInROM|
|00000840| 20 5f 47 65 74 41 70 70 | 46 69 6c 65 73 20 3a 6e | _GetApp|Files :n|
|00000850| 6f 6e 65 20 28 28 69 6e | 64 65 78 20 3a 73 69 67 |one ((in|dex :sig|
|00000860| 6e 65 64 2d 69 6e 74 65 | 67 65 72 29 20 28 74 68 |ned-inte|ger) (th|
|00000870| 65 46 69 6c 65 20 3a 41 | 70 70 46 69 6c 65 29 29 |eFile :A|ppFile))|
|00000880| 0d 20 20 28 77 69 74 68 | 2d 6d 61 63 70 74 72 73 |. (with|-macptrs|
|00000890| 20 28 28 61 70 70 50 61 | 72 6d 5f 68 20 28 25 67 | ((appPa|rm_h (%g|
|000008a0| 65 74 2d 70 74 72 20 28 | 25 69 6e 74 2d 74 6f 2d |et-ptr (|%int-to-|
|000008b0| 70 74 72 20 23 24 41 70 | 70 50 61 72 6d 48 61 6e |ptr #$Ap|pParmHan|
|000008c0| 64 6c 65 29 29 29 29 0d | 20 20 20 20 28 77 68 65 |dle)))).| (whe|
|000008d0| 6e 20 28 61 6e 64 20 28 | 70 6c 75 73 70 20 28 23 |n (and (|plusp (#|
|000008e0| 5f 47 65 74 48 61 6e 64 | 6c 65 53 69 7a 65 20 61 |_GetHand|leSize a|
|000008f0| 70 70 50 61 72 6d 5f 68 | 29 29 0d 20 20 20 20 20 |ppParm_h|)). |
|00000900| 20 20 20 20 20 20 20 20 | 20 20 28 3c 3d 20 69 6e | | (<= in|
|00000910| 64 65 78 20 28 68 72 65 | 66 20 61 70 70 50 61 72 |dex (hre|f appPar|
|00000920| 6d 5f 68 20 3a 41 70 70 | 50 61 72 6d 2e 63 6f 75 |m_h :App|Parm.cou|
|00000930| 6e 74 29 29 29 0d 20 20 | 20 20 20 20 28 77 69 74 |nt))). | (wit|
|00000940| 68 2d 64 65 72 65 66 65 | 72 65 6e 63 65 64 2d 68 |h-derefe|renced-h|
|00000950| 61 6e 64 6c 65 73 20 28 | 28 61 70 70 50 61 72 6d |andles (|(appParm|
|00000960| 5f 70 20 61 70 70 50 61 | 72 6d 5f 68 29 29 0d 20 |_p appPa|rm_h)). |
|00000970| 20 20 20 20 20 20 20 28 | 6c 65 74 20 28 28 6f 66 | (|let ((of|
|00000980| 66 73 65 74 20 28 61 70 | 70 2d 66 69 6c 65 2d 6f |fset (ap|p-file-o|
|00000990| 66 66 73 65 74 20 69 6e | 64 65 78 20 61 70 70 50 |ffset in|dex appP|
|000009a0| 61 72 6d 5f 70 29 29 29 | 0d 20 20 20 20 20 20 20 |arm_p)))|. |
|000009b0| 20 20 20 28 77 69 74 68 | 2d 6d 61 63 70 74 72 73 | (with|-macptrs|
|000009c0| 20 28 28 61 70 70 46 69 | 6c 65 20 28 25 69 6e 63 | ((appFi|le (%inc|
|000009d0| 2d 70 74 72 20 61 70 70 | 50 61 72 6d 5f 70 20 6f |-ptr app|Parm_p o|
|000009e0| 66 66 73 65 74 29 29 29 | 0d 20 20 20 20 20 20 20 |ffset)))|. |
|000009f0| 20 20 20 20 20 28 73 65 | 74 66 20 28 70 72 65 66 | (se|tf (pref|
|00000a00| 20 74 68 65 46 69 6c 65 | 20 3a 41 70 70 46 69 6c | theFile| :AppFil|
|00000a10| 65 2e 76 52 65 66 4e 75 | 6d 29 20 28 70 72 65 66 |e.vRefNu|m) (pref|
|00000a20| 20 61 70 70 46 69 6c 65 | 20 3a 49 41 70 70 46 69 | appFile| :IAppFi|
|00000a30| 6c 65 2e 76 52 65 66 4e | 75 6d 29 29 0d 20 20 20 |le.vRefN|um)). |
|00000a40| 20 20 20 20 20 20 20 20 | 20 28 73 65 74 66 20 28 | | (setf (|
|00000a50| 70 72 65 66 20 74 68 65 | 46 69 6c 65 20 3a 41 70 |pref the|File :Ap|
|00000a60| 70 46 69 6c 65 2e 66 54 | 79 70 65 29 20 20 20 28 |pFile.fT|ype) (|
|00000a70| 70 72 65 66 20 61 70 70 | 46 69 6c 65 20 3a 49 41 |pref app|File :IA|
|00000a80| 70 70 46 69 6c 65 2e 66 | 54 79 70 65 29 29 0d 20 |ppFile.f|Type)). |
|00000a90| 20 20 20 20 20 20 20 20 | 20 20 20 28 73 65 74 66 | | (setf|
|00000aa0| 20 28 70 72 65 66 20 74 | 68 65 46 69 6c 65 20 3a | (pref t|heFile :|
|00000ab0| 41 70 70 46 69 6c 65 2e | 76 65 72 73 4e 75 6d 29 |AppFile.|versNum)|
|00000ac0| 20 28 70 72 65 66 20 61 | 70 70 46 69 6c 65 20 3a | (pref a|ppFile :|
|00000ad0| 49 41 70 70 46 69 6c 65 | 2e 76 65 72 73 4e 75 6d |IAppFile|.versNum|
|00000ae0| 29 29 0d 20 20 20 20 20 | 20 20 20 20 20 20 20 28 |)). | (|
|00000af0| 23 5f 42 6c 6f 63 6b 4d | 6f 76 65 0d 20 20 20 20 |#_BlockM|ove. |
|00000b00| 20 20 20 20 20 20 20 20 | 20 28 25 69 6e 63 2d 70 | | (%inc-p|
|00000b10| 74 72 20 61 70 70 46 69 | 6c 65 20 23 2e 28 6e 74 |tr appFi|le #.(nt|
|00000b20| 68 2d 76 61 6c 75 65 20 | 30 20 28 66 69 65 6c 64 |h-value |0 (field|
|00000b30| 2d 69 6e 66 6f 20 3a 49 | 41 70 70 46 69 6c 65 20 |-info :I|AppFile |
|00000b40| 3a 66 6e 4c 65 6e 29 29 | 29 0d 20 20 20 20 20 20 |:fnLen))|). |
|00000b50| 20 20 20 20 20 20 20 28 | 25 69 6e 63 2d 70 74 72 | (|%inc-ptr|
|00000b60| 20 74 68 65 46 69 6c 65 | 20 23 2e 28 6e 74 68 2d | theFile| #.(nth-|
|00000b70| 76 61 6c 75 65 20 30 20 | 28 66 69 65 6c 64 2d 69 |value 0 |(field-i|
|00000b80| 6e 66 6f 20 3a 41 70 70 | 46 69 6c 65 20 20 3a 66 |nfo :App|File :f|
|00000b90| 4e 61 6d 65 29 29 29 0d | 20 20 20 20 20 20 20 20 |Name))).| |
|00000ba0| 20 20 20 20 20 28 31 2b | 20 28 70 72 65 66 20 61 | (1+| (pref a|
|00000bb0| 70 70 46 69 6c 65 20 3a | 49 41 70 70 46 69 6c 65 |ppFile :|IAppFile|
|00000bc0| 2e 66 6e 4c 65 6e 29 29 | 29 29 29 29 29 29 29 0d |.fnLen))|))))))).|
|00000bd0| 0d 28 64 65 66 74 72 61 | 70 2d 4e 6f 74 49 6e 52 |.(deftra|p-NotInR|
|00000be0| 4f 4d 20 5f 43 6c 72 41 | 70 70 46 69 6c 65 73 20 |OM _ClrA|ppFiles |
|00000bf0| 3a 6e 6f 6e 65 20 28 28 | 69 6e 64 65 78 20 3a 73 |:none ((|index :s|
|00000c00| 69 67 6e 65 64 2d 69 6e | 74 65 67 65 72 29 29 0d |igned-in|teger)).|
|00000c10| 20 20 28 77 69 74 68 2d | 6d 61 63 70 74 72 73 20 | (with-|macptrs |
|00000c20| 28 28 61 70 70 50 61 72 | 6d 5f 68 20 28 25 67 65 |((appPar|m_h (%ge|
|00000c30| 74 2d 70 74 72 20 28 25 | 69 6e 74 2d 74 6f 2d 70 |t-ptr (%|int-to-p|
|00000c40| 74 72 20 23 24 41 70 70 | 50 61 72 6d 48 61 6e 64 |tr #$App|ParmHand|
|00000c50| 6c 65 29 29 29 29 0d 20 | 20 20 20 28 77 68 65 6e |le)))). | (when|
|00000c60| 20 28 61 6e 64 20 28 70 | 6c 75 73 70 20 28 23 5f | (and (p|lusp (#_|
|00000c70| 47 65 74 48 61 6e 64 6c | 65 53 69 7a 65 20 61 70 |GetHandl|eSize ap|
|00000c80| 70 50 61 72 6d 5f 68 29 | 29 0d 20 20 20 20 20 20 |pParm_h)|). |
|00000c90| 20 20 20 20 20 20 20 20 | 20 28 3c 3d 20 69 6e 64 | | (<= ind|
|00000ca0| 65 78 20 28 68 72 65 66 | 20 61 70 70 50 61 72 6d |ex (href| appParm|
|00000cb0| 5f 68 20 3a 41 70 70 50 | 61 72 6d 2e 63 6f 75 6e |_h :AppP|arm.coun|
|00000cc0| 74 29 29 29 0d 20 20 20 | 20 20 20 28 77 69 74 68 |t))). | (with|
|00000cd0| 2d 64 65 72 65 66 65 72 | 65 6e 63 65 64 2d 68 61 |-derefer|enced-ha|
|00000ce0| 6e 64 6c 65 73 20 28 28 | 61 70 70 50 61 72 6d 5f |ndles ((|appParm_|
|00000cf0| 70 20 61 70 70 50 61 72 | 6d 5f 68 29 29 0d 20 20 |p appPar|m_h)). |
|00000d00| 20 20 20 20 20 20 28 6c | 65 74 20 28 28 6f 66 66 | (l|et ((off|
|00000d10| 73 65 74 20 28 61 70 70 | 2d 66 69 6c 65 2d 6f 66 |set (app|-file-of|
|00000d20| 66 73 65 74 20 69 6e 64 | 65 78 20 61 70 70 50 61 |fset ind|ex appPa|
|00000d30| 72 6d 5f 70 29 29 29 0d | 20 20 20 20 20 20 20 20 |rm_p))).| |
|00000d40| 20 20 28 77 69 74 68 2d | 6d 61 63 70 74 72 73 20 | (with-|macptrs |
|00000d50| 28 28 61 70 70 46 69 6c | 65 20 28 25 69 6e 63 2d |((appFil|e (%inc-|
|00000d60| 70 74 72 20 61 70 70 50 | 61 72 6d 5f 70 20 6f 66 |ptr appP|arm_p of|
|00000d70| 66 73 65 74 29 29 29 0d | 20 20 20 20 20 20 20 20 |fset))).| |
|00000d80| 20 20 20 20 28 73 65 74 | 66 20 28 70 72 65 66 20 | (set|f (pref |
|00000d90| 61 70 70 46 69 6c 65 20 | 3a 49 41 70 70 46 69 6c |appFile |:IAppFil|
|00000da0| 65 2e 66 54 79 70 65 29 | 20 30 29 29 29 29 29 29 |e.fType)| 0))))))|
|00000db0| 29 0d 0d 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |)..;;;;;|;;;;;;;;|
|00000dc0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00000dd0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00000de0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00000df0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 0d 00 00 00 00 00 00 |;;;;;;;;|;.......|
|00000e00| 00 00 01 00 00 00 01 68 | 00 00 00 68 00 00 00 52 |.......h|...h...R|
|00000e10| 00 00 18 ac 14 43 6f 6e | 6e 65 63 74 69 6f 6e 54 |.....Con|nectionT|
|00000e20| 6f 6f 6c 73 2e 6c 69 73 | 70 74 02 00 00 00 54 45 |ools.lis|pt....TE|
|00000e30| 0f 2b 53 65 67 4c 6f 61 | 64 65 72 2e 6c 69 73 70 |.+SegLoa|der.lisp|
|00000e40| 02 00 00 00 54 45 58 54 | 43 43 4c 32 01 00 00 64 |....TEXT|CCL2...d|
|00000e50| 00 00 54 45 58 54 43 43 | 4c 32 01 00 00 64 00 60 |..TEXTCC|L2...d.`|
|00000e60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e70| 00 00 a5 b4 63 1a 00 00 | 0d 7a 00 00 01 ba 00 00 |....c...|.z......|
|00000e80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e90| 13 00 00 00 18 ac 0d 43 | 4f 4e 54 52 4f 4c 53 2e |.......C|ONTROLS.|
|00000ea0| 6c 69 73 70 02 00 00 00 | 54 45 58 54 43 43 4c 32 |lisp....|TEXTCCL2|
|00000eb0| 01 00 00 68 01 40 00 00 | 00 00 18 b8 00 00 00 00 |...h.@..|........|
|00000ec0| 21 8c 00 00 28 00 00 00 | 00 00 00 00 00 00 00 00 |!...(...|........|
|00000ed0| a3 d2 fe 6f a4 34 d3 29 | 00 00 00 00 00 00 00 00 |...o.4.)|........|
|00000ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 47 0f |........|......G.|
|00000ef0| 00 05 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f00| 00 00 00 0a 00 01 00 16 | 0a 00 01 00 00 00 00 00 |........|........|
|00000f10| 00 0a 00 00 07 43 6f 75 | 72 69 65 72 00 00 00 48 |.....Cou|rier...H|
|00000f20| 00 0a 43 6f 75 72 69 65 | 72 00 00 00 00 00 00 00 |..Courie|r.......|
|00000f30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f40| 00 00 00 06 00 08 00 eb | 02 0e 03 1c 04 4d 00 eb |........|.....M..|
|00000f50| 02 0e 03 1c 04 4d 00 00 | 00 00 00 00 0d 31 00 00 |.....M..|.....1..|
|00000f60| 0d 31 00 00 09 bd 01 00 | 00 00 01 00 00 00 01 68 |.1......|.......h|
|00000f70| 00 00 00 68 00 00 00 52 | 00 c8 22 ec 09 8e 00 00 |...h...R|..".....|
|00000f80| 00 1c 00 52 00 01 46 52 | 45 44 00 01 00 12 4d 50 |...R..FR|ED....MP|
|00000f90| 53 52 00 00 00 2a 00 02 | ff ff 00 00 00 00 00 00 |SR...*..|........|
|00000fa0| 00 00 00 03 ff ff 00 00 | 00 0e 00 00 00 00 03 ed |........|........|
|00000fb0| ff ff 00 00 00 1c 00 c8 | fd 0c 00 00 00 00 00 00 |........|........|
|00000fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+